package com.ctcnit.templatepro.di

import com.base.di.ActivityScope
import com.hb.trans.di.MainActivityModule
import com.hb.trans.mvp.ui.activity.*
import dagger.Module
import dagger.android.ContributesAndroidInjector

/**
 * 绑定Activity
 */
@Module
abstract class ActivitiesModule {

    //主页
    @ActivityScope
    @ContributesAndroidInjector(modules = arrayOf(MainActivityModule::class))
    abstract fun bindMainActivity(): MainActivity

    //学时查询登录
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindTransCheckLoginActivity(): TransCheckLoginActivity

    //学时查询
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindTransInfoActivity(): TransInfoActivity

    //学时查询
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindTransRecordActivity(): TransRecordActivity

    //学车报名
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindSchoolsActivity(): SchoolsActivity

    //驾校信息New
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindSchoolInfoNewActivity(): SchoolInfoActivity

    //空页面
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindNoDetailActivity(): NoDetailActivity

    //教练信息
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCoachInfoActivity(): CoachInfoActivity

    //驾校信息
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindEvaluateCoachActivity(): EvaluateCoachActivity

    //驾校信息
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindFeedbackActivity(): FeedbackActivity

    //关于我们
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindAboutUsActivity(): AboutUsActivity

    //关于我们
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindNewDetailActivity(): NewDetailActivity

    //学车报名
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindSignActivity(): SignActivity


//    //消息中心
//    @ActivityScope
//    @ContributesAndroidInjector
//    abstract fun bindMessageCenterActivity(): MessageCenterActivity


    //驾培机构列表
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCenterListActivity():  CenterListActivity

    //驾培机构列表
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCompanyListActivity():  CompanyListActivity

    //机构搜索
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCompanySearchActivity():  CompanySearchActivity

    //信息详情
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCompanyDetailActivity():  CompanyDetailActivity

    //教练车
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCarListActivity():  CarListActivity

    //教练车详情
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun  bindCarDetailActivity():  CarDetailActivity

    //教学区域
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun  bindMapActivity():  MapActivity

    //教学区域
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun  bindAreaListActivity():  AreaListActivity

    //教练员
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun  bindTeacherListActivity():   TeacherListActivity

    //flutter
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun  bindMyFlutterActivity():   MyFlutterActivity

}